<html>
    <head>
        {php}html_header_show();{/php}

        <link rel="stylesheet" href="{php}echo $GLOBALS['css_header']; {/php}" type="text/css">

        {literal}
        {/literal}
        <script type="text/javascript" src="library/js/jquery-1.10.0.min.js"></script>
        <script src="DocumentTreeMenu.js" language="JavaScript" type="text/javascript"></script>
        <script type="text/javascript" src="patients/css/nightingale.css"></script>
        <script type="text/javascript">
            $(document).ready(function() {literal}{{/literal}
                $("#cancel").click(function() {literal}{{/literal}
                    parent.jQuery.fancybox.close();
                 {literal}}{/literal});
             {literal}}{/literal});
        </script>
    </head>
    <!--<body bgcolor="{$STYLE.BGCOLOR2}">-->
    <body class="body_top">
        <div class="borde_normal">
            <span class="historial_paciente"><i style="font-size: 1.4em;" class="icon-paper-clip"></i> {xl t='Documents'}</span>
            <a href="" id="cancel" class="css_button"><span><i class="icon-remove-sign" style="font-size: 25px;"></i> {xl t='Cancel'}</span></a>
        </div>
        <div id="documents_list">
            <table>
                <tr>
                    <td height="20" valign="top">{xl t='Categories'} &nbsp;
                        (<a href="#" onclick="javascript:objTreeMenu_1.collapseAll();
                return false;">{xl t='Collapse all'}</a>)
                    </td>
                </tr>
                <tr>
                    <td valign="top">{$tree_html}</td>
                </tr>
            </table>
        </div>
        <div id="documents_actions">
            {if $message}
            <div class='text' style="margin-bottom:-10px; margin-top:-8px"><i>{$message}</i></div><br>
            {/if}
            {if $messages}
            <div class='text' style="margin-bottom:-10px; margin-top:-8px"><i>{$messages}</i></div><br>
            {/if}
            {$activity}
        </div>
    </body>
</html>
